import request from '@/utils/request'

export function getPortList(data = {}) {
  return request({
    url: '/port/getPortList',
    method: 'post',
    params: data
  })
}

export function getPortTree(data = {}) {
  return request({
    url: '/port/getPortTree',
    method: 'post',
    params: data
  })
}
